package com.yonyou.cyxdms.sysAuth.service.service.dealerchannel;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yonyou.cyxdms.sysAuth.service.entity.TrDealerOrgRelationPO;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

/**
 * Created by adu on 2019/10/10.
 */
public interface AuthorizedInfoService {

    IPage<Map<String, Object>> queryAuthorizedById(Page page, Map<String, Object> queryCondition);

    /**
     * 新增-授权品牌
     *
     * @param trdealerorgrelationpo
     * @return
     */
    public Integer addAuthorizedBrand(TrDealerOrgRelationPO trdealerorgrelationpo);

    /**
     * 删除-授权品牌
     *
     * @param orgRelationId
     * @return
     */
    public Integer deleteAuthorizedBrand(Integer orgRelationId);

}
